package com.rui.state.obj;


import com.rui.state.model.Context;
import lombok.Data;

/**
 * @Description: 电梯状态
 * @Author: ZhangRui
 * @Date: 2023/3/3 15:29
 * @Version: 1.0
 */
@Data
public abstract class LiftState {

    protected Context context;

    public abstract void open();

    public abstract void close();

    public abstract void run();

    public abstract void stop();
}